package net.qhzw.geologr5.gis.service.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/***
 * 软件表
 */
@Data
@TableName("download_software")
public class Software implements Serializable {

    static final long serialVersionUID = 145766939L;

    /***
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /***
     * 软件名称
     */
    private String softwareName;

    /***
     * 软件表id
     */
    private Integer dictSoftnailId;

    /***
     * 软件大小
     */
    private String softwareSize;

    /***
     * 上传日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date uploadDate;


    /***
     * 下载次数
     */
    private Integer downloadCount;

    /**
     * 软件url地址
     */
    private String softwareUrl;


    /***
     * 软件简介
     */
    private String softwareDescribe;


    /***
     * 软件表
     */
    @TableField(exist = false)
    private DictSoftnail dictSoftnail;


}
